package cn.com.connext.scrm.repository.master;


import cn.com.connext.scrm.domain.master.WriteOffCode;
import cn.com.connext.scrm.domain.master.WriteOffRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface WriteOffRecordRepository extends JpaRepository<WriteOffRecord, Long>, JpaSpecificationExecutor {

    List<WriteOffRecord> findByActivityId(@Param("activityId") String activityId);
}
